﻿using System.Configuration;
using System.Web.Configuration;
using System;

namespace AspNetInfo.Diagnostics
{
    public class DatabaseConnectionTestFixture : TestFixture
    {
        public override string Name
        {
            get { return "Database Configuration"; }
        }


        public override void Setup()
        {
            // Create a test for each connection string in the <ConnectionString> of the web config.
            //foreach (ConnectionStringSettings connString in WebConfigurationManager.ConnectionStrings)
            //{
            //    if (String.IsNullOrEmpty(connString.ElementInformation.Source)) continue;
            //    Tests.Add(new DatabaseConnectionTest(connString));
            //}
        }
    }
}